package com.pp.service;

import com.pp.bean.GovGoodsImage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pp.bean.GovGoodsInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品详情图 服务类
 * </p>
 *
 * @author 张子艺
 * @since 2019-04-02
 */
public interface GovGoodsImageService extends IService<GovGoodsImage> {

    //商品轮播图上传
    Map<String, Object> saveGoodManyImage(MultipartFile file,  GovGoodsImage goodsImage );
    //修改关联ID
    int updateRelacation(Long relacationId,List<Long> ids);
    //条件查看商品所有图片
    List<GovGoodsImage> findGoodsImage(GovGoodsImage govGoodsImage);
}
